source /etc/profile
git pull
cd /opt/yan/product/x-yan/x-yan
/usr/local/maven/bin/mvn clean package
cd  /opt/yan/product/x-yan/x-yan/yan-starter
aa=$(ps -ef | grep yan-starter-sit.jar | awk '{print $2}')
print $aa
kill -9 $aa
sleep 5
mv /opt/yan/product/x-yan/x-yan/yan-starter/target/yan-starter.jar /opt/sit/yan-starter-sit.jar
cd /opt/sit
nohup java -Dspring.profiles.active=sit -Dserver.port=18081 -jar yan-starter-sit.jar > yan-starter-sit.log &